/*
 * Powered By cuichen
 * Since 2014 - 2018
 */
package com.seeyoui.kensite.bussiness.orderlang.deliveryProduct.persistence;

import com.seeyoui.kensite.common.base.domain.EasyUIDataGrid;
import com.seeyoui.kensite.bussiness.orderlang.deliveryProduct.domain.DeliveryProduct;

import java.util.*;

import com.seeyoui.kensite.common.exception.CRUDException;

/**
 * DeliveryProduct
 * @author cuichen
 * @version 2.0
 * @since 1.0
 * @date 2018-03-01
 */

public interface DeliveryProductMapper {

	/**
	 * 根据ID查询单条数据
	 * @param id
	 * @return
	 */
	public DeliveryProduct findOne(String id);
	
	/**
	 * 查询数据集合
	 * @param deliveryProduct
	 * @return
	 */
	public List<DeliveryProduct> findList(DeliveryProduct deliveryProduct);
	
	/**
	 * 查询所有数据集合
	 * @param deliveryProduct
	 * @return
	 */
	public List<DeliveryProduct> findAll(DeliveryProduct deliveryProduct);
	
	/**
	 * 查询数据总数
	 * @param deliveryProduct
	 * @return
	 */
	public int findTotal(DeliveryProduct deliveryProduct);

	/**
	 * 查询数据总数排除当前数据
	 * @param deliveryProduct
	 * @return
	 */
	public int findExTotal(DeliveryProduct deliveryProduct);
	
	/**
	 * 数据新增
	 * @param deliveryProduct
	 */
	public void save(DeliveryProduct deliveryProduct);
	
	/**
	 * 数据修改
	 * @param deliveryProduct
	 */
	public void update(DeliveryProduct deliveryProduct);
	
	/**
	 * 数据删除
	 * @param listId
	 */
	public void delete(List<String> listId);
	
	/**
	 * 数据假删除
	 * @param deliveryProduct
	 */
	public void remove(DeliveryProduct deliveryProduct);
	
}